package com.song.week.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 
 * @TableName test_user
 */
@TableName(value ="test_user")
public class TestUser implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField(value = "name")
    private String name;

    /**
     * 
     */
    @TableField(value = "username")
    private String username;

    /**
     * 
     */
    @TableField(value = "password")
    private String password;

    /**
     * 
     */
    @TableField(value = "sale")
    private String sale;

    /**
     * 
     */
    @TableField(value = "sex")
    private Integer sex;

    /**
     * 
     */
    @TableField(value = "avter")
    private String avter;

    /**
     * 
     */
    @TableField(value = "createTime",fill = FieldFill.INSERT)
    private LocalDateTime createtime;

    /**
     * 
     */
    @TableField(value = "isDel")
    @TableLogic(value = "0",delval = "1")
    private Integer isdel;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    public Integer getId() {
        return id;
    }

    /**
     * 
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 
     */
    public String getName() {
        return name;
    }

    /**
     * 
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 
     */
    public String getUsername() {
        return username;
    }

    /**
     * 
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * 
     */
    public String getPassword() {
        return password;
    }

    /**
     * 
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 
     */
    public String getSale() {
        return sale;
    }

    /**
     * 
     */
    public void setSale(String sale) {
        this.sale = sale;
    }

    /**
     * 
     */
    public Integer getSex() {
        return sex;
    }

    /**
     * 
     */
    public void setSex(Integer sex) {
        this.sex = sex;
    }

    /**
     * 
     */
    public String getAvter() {
        return avter;
    }

    /**
     * 
     */
    public void setAvter(String avter) {
        this.avter = avter;
    }

    /**
     * 
     */
    public LocalDateTime getCreatetime() {
        return createtime;
    }

    /**
     * 
     */
    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }

    /**
     * 
     */
    public Integer getIsdel() {
        return isdel;
    }

    /**
     * 
     */
    public void setIsdel(Integer isdel) {
        this.isdel = isdel;
    }
}